<template>
  <van-tabbar v-model="active">
    <van-tabbar-item icon="records-o" @click="pushtoMain()">评分</van-tabbar-item>
    <van-tabbar-item icon="todo-list-o" @click="pushtoList()">查看</van-tabbar-item>
    <van-tabbar-item icon="todo-list-o" @click="pushtoupdate()">修改</van-tabbar-item>
  </van-tabbar>
</template>

<script>
export default {
  name: "ScorBottom",
  data() {
    return {
      active: 0,
    };
  },
  methods: {
    pushtoMain() {
      this.$router.push("/Scoring/Main/"+this.$route.params.titlename+"/"+this.$route.params.id);
  },
  pushtoList() {
    this.$router.push("/Scoring/List"+"/"+this.$route.params.titlename+"/"+this.$route.params.id);
  },
  pushtoupdate() {
    this.$router.push("/Scoring/ScoreUpdate"+"/"+this.$route.params.titlename+"/"+this.$route.params.id);
  }
  },
};
</script>

<style>
</style>